<?php declare(strict_types=1);

namespace App\Api\Constants;

use Hyperf\Constants\Annotation\Constants;

#[Constants]
class ErrorCode extends \App\Constants\ErrorCode
{

    /**
     * @Message("购买数量限制")
     */
    const ERR_PURCHASE_LIMIT = 411;

    /**
     * @Message("Insufficient account balance")
     */
    const ERR_BALANCE_INSUFFICIENT = 413;

    /**
     * @Message("No address information available")
     */
    const ERR_NO_ADDRESS = 414;

    /**
     * @Message("Limit on the number of unpaid orders")
     */
    const ERR_ORDER_UNPAID_LIMIT = 415;

    /**
     * @Message("Reload Page Data")
     */
    const ERR_RELOAD_DATA = 416;

    /**
     * @Message("ERR_CONFIG_MISS")
     */
    const ERR_CONFIG_MISS = 510;

}
